﻿using System.Collections.Generic;
using System.ServiceProcess;
using log4net;
using Reactor.Providers;
using Samurai.Wakizashi.Workflow;

namespace Reactor.ServiceGrid.Workflows.Contexts
{
    public class MonitorContext : IWorkflowContext
    {
        public MonitorContext()
        {
            KnownOfflineServices = new List<ServiceController>();
            KnownOnlineServices = new List<ServiceController>();
        }

        public IReactorCore ReactorCore { get; set; }
        public ICoreDataProvider CoreDataProvider { get; set; }
        public Queue<ServiceController> WindowsServiceControllers { get; set; }
        public List<ServiceController> KnownOfflineServices { get; set; }
        public List<ServiceController> KnownOnlineServices { get; set; }
        public ILog Logger { get; set; }
    }
}
